package com.hqyj.am.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author rock
 * @since 2022-08-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Schedule extends MyPage implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "schedule_id", type = IdType.AUTO)
    private Integer scheduleId;//id

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime scheduleWorkTime;//上班时间

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime scheduleQuitTime;//下班时间

    private Integer leaveCount;//请假次数

    private Integer lateCount;//迟到次数

    private Integer earlyCount;//早退次数

    private Integer departmentId;//部门id


}
